 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/style/global.css" rel="stylesheet" type="text/css" />
<link href="/style/frame.css" rel="stylesheet" type="text/css" />
<script>
//模拟打开弹出框口
function openDialog(title,url){
	window.top.art.dialog.open(url,{title:title,lock:true,okvalue:'确认',ok:function(){return true;}});
}

//弹出消息提示
function alertDialog(msg){
	window.top.art.dialog.alert(msg);
}

//弹出确认框
function confirmDialog(msg){
	window.top.art.dialog.confirm(msg, function(){
		return true;
	},function(){
    	return true;
	});
}

</script>
</head>
<body>
1. <a href="javascript:openDialog('消息提示框','index.php?c=demo&a=login');">使用iframe打开页面</a><br>
2. <a href="javascript:alertDialog('消息提示');">弹出消息框</a><br>
3. <a href="javascript:confirmDialog('确认是否删除？');">确认框样式</a><br>
</body>
</html>
